package com.shixun.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.Version;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author shixun
 * @since 2023-06-10
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class Dormitory implements Serializable {

private static final long serialVersionUID=1L;

    /**
     * 宿舍id
     */
    @TableId(value = "did", type = IdType.AUTO)
    private Long did;

    /**
     * 宿舍号
     */
    private String dormitory;

    /**
     * 最大人数
     */
    private Integer maxCapacity;

    /**
     * 目前人数
     */
    private Integer nowCapacity;

    /**
     * 1为男生宿舍，2为女生宿舍
     */
    private Integer sex;


}
